<script lang="ts">
    import ChatPanel from "./ChatPanel.svelte";
    import DrawList from "./DrawList.svelte";
    import { chatStore } from "./store.svelte";

    $effect(() => {
        return () => chatStore.init("");
    });
</script>

<div class="flex">
    <div class="flex-1">
        <ChatPanel />
    </div>
    <div>
        <DrawList />
    </div>
</div>
